﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GaiNo.WS.Core.Models.SiteEntity>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Index
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        <%= Model.Name %></h2>
    <%= Html.LabelFor(m => m.Title) %>：<%= Model.Title %>
    <%  using (Html.BeginForm())
        { 
    %>
    <%= Html.TextBoxFor(m => m.Title) %>
    <input type="submit" value="修改标题" />
    <%
            
        } %>
</asp:Content>
